function [i, j] = IA_Network_CC_Next_Relation(n, i, j)
%IA_Network_CC_Next_Relation function Only evaluate upper part of
% Relationship matrix.
% Detailed explanation goes here

if (j < n)
  j = j + 1;
elseif (j == n)
  i = i + 1;
  j = i + 1;
end
end